package com.prjsystem.dao.impl;

import java.util.List;

import com.prjsystem.dao.BaseDao;
import com.prjsystem.dao.HomeViewDao;
import com.prjsystem.entity.Daily;
import com.prjsystem.entity.NewsDetail;
import com.prjsystem.entity.WorkRequestDetail;

public class HomeViewDaoImpl extends BaseDao implements HomeViewDao {

	@SuppressWarnings("unchecked")
	@Override
	public List<Daily> searchdwInfo() {
		return excuteQueryForstring("home.searchDwInfo");
	}

	@SuppressWarnings("unchecked")
	@Override
	public List<WorkRequestDetail> searchwrInfo() {
		return excuteQueryForstring("home.searchWrInfo");
	}

	@SuppressWarnings("unchecked")
	@Override
	public List<NewsDetail> searchNewsInfo() {
		return excuteQueryForstring("home.searchNewsInfo");
	}

}
